#======================================================================
#
# Top-level Makefile for WebPageView
#
# $RCSfile$
# $Revision: 65 $
# $Author: kocienda $
# $Date: 2001-08-31 21:47:45 +0000 (Fri, 31 Aug 2001) $
#
#======================================================================
# Include header

TOPSRCDIR = .
include $(TOPSRCDIR)/Makefile.vars

#----------------------------------------------------------------------
# Subdirectories to build

SUBDIRS = \
	src/kdelibs/kjs \
	src/kdelibs/khtml/misc \
	src/kdelibs/khtml/css \
	src/kdelibs/khtml/dom \
	src/kdelibs/khtml/ecma \
	src/kdelibs/khtml/xml \
	src/kdelibs/khtml/java \
	$(NULL)

#----------------------------------------------------------------------
# Standard targets

all setup install clean distclean maintainer-clean:		
	@target=$@; \
	list='$(SUBDIRS)'; \
	for subdir in $$list; do \
	  echo ">>> Making $$target in $$subdir"; \
	  (cd $$subdir && $(MAKE) $$target) || \
		case "$$amf" in \
			*=*) exit 1;; \
			*k*) fail=yes;; \
			*) exit 1;; \
		esac; \
	done; \
	echo ">>> Making local-$$target in `pwd`"; \
	$(MAKE) local-$$target; \
	$(NULL)	

#----------------------------------------------------------------------
# Custom targets

local-all:
local-dep:
local-install:
local-setup:
local-clean:
	
local-distclean:
	${MAKE} local-clean
	rm -rf Makefile \
	Makefile.rules \
	Makefile.vars \
	config.h \
	config.cache \
	config.log \
	config.status \
	$(NULL)
	
local-maintainer-clean:
	rm -f configure;
	${MAKE} local-distclean

#======================================================================
# end
#======================================================================

